package com.haois.mp.wechat.handler;

import me.chanjar.weixin.common.exception.WxErrorException;
import me.chanjar.weixin.mp.api.WxMpService;
import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage;
import org.springframework.stereotype.Component;

/**
 * Created by RuiHaoZ on 2018/3/25 0:20
 */
@Component
public abstract class AbstractHandler {

    public abstract String execute(WxMpXmlMessage wxMpXmlMessage, WxMpService wxMpService) throws WxErrorException;

    public String handle(WxMpXmlMessage wxMpXmlMessage) {
        return "";
    }
}
